@echo off

call upx

del /f/s/q *.~* *.dcu *.ddp *.map *.dcp *.local *.identcache *.cfg *.dof

for /r %%i in (__history,__recovery,Win32,Win64,..\Debug,..\Release) do rd %%i /s/q

for /r %%i in (*.identcache,*.local) do del %%i /f/s/q

for /r ..\Release %%i in (*.rsm) do del %%i /f/s/q

for /r XMemoryRun %%i in (*.res) do del %%i /f/s/q

